package kr.co.redcircle.service.oAuth.model;

import java.util.HashMap;

import org.scribe.model.Token;
import org.scribe.oauth.OAuthService;

public class SNSDefaultParameters extends HashMap<String, Object> implements ISNSCommandParameters {

	private static final String SERVICE = "SERVICE";
	private static final String ACCESS_TOKEN = "ACCESS_TOKEN";
	private static final long serialVersionUID = -71259394533094767L;

	@Override
	public Token getAccessToken() {
		return (Token) this.get(ACCESS_TOKEN);
	}

	@Override
	public OAuthService getService() {
		return (OAuthService) this.get(SERVICE);
	}
	
	public void setAccessToken(Token token){
		this.put(ACCESS_TOKEN, token);		
	}
	
	public void setService(OAuthService service){
		this.put(SERVICE, service);		
	}

}
